package playchess;

public class Piece
{
	public static final byte BLACK = 0;
	public static final byte WHITE = 1;
	
	public static final byte EMPTY  = 0;
	public static final byte ROOK 	= 1;
	public static final byte KNIGHT = 2;
	public static final byte BISHOP = 3;
	public static final byte QUEEN 	= 4;
	public static final byte KING	= 5;
	public static final byte PAWN	= 6;
	
	private byte color;
	private byte type;
	
	public Piece(byte color, byte type)
	{
		this.color = color;
		this.type = type;
	}
	
	public byte getColor()
	{
		return color;
	}
	
	public byte getType()
	{
		return type;
	}
}
